package com.terracloud.server.service.executors;

import com.terracloud.common.util.AbstractListeningExecutor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 *
 * @author chenhainan
 * @since 2025/11/7
 */
@Component
public class RpcCallbackExecutorService extends AbstractListeningExecutor {

    @Value("${actors.rpc.thread_pool_size:10}")
    private int threadPoolSize;

    @Override
    protected int getThreadPollSize() {
        return threadPoolSize;
    }
}
